package com.yt.sys.models.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "SysAdminBO", description = "管理员业务对象")
public class SysAdminBO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员唯一ID")
    private Integer adminId;

    @ApiModelProperty(value = "登录用户名（管理端账号）")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "联系电话（管理员联系方式，非登录用）")
    private String phone;

    @ApiModelProperty(value = "账号状态（0=禁用，1=正常）")
    private Integer status;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "角色列表")
    private List<SysRoleBO> roles;
}